# -*- coding: utf-8 -*-
from odoo import models, fields, api
from odoo.exceptions import ValidationError

class EmpAnnualcost(models.Model):
    _name = 'emp.annual'
    peo_id = fields.Many2one(comodel_name='emp.peo')

    autono = fields.Char('流水號')
    pautono = fields.Char('人員電腦編號')
    year = fields.Char('學年度')
    val01 = fields.Char('上學期時數')
    val02 = fields.Char('上學期時數')
    desc01 = fields.Char('')
    val03 = fields.Char('下學期天數')
    val04 = fields.Char('下學期時數')
    desc03 = fields.Char('')
    val05 = fields.Char('年度天數')
    val06 = fields.Char('年度時數')
    desc05 = fields.Char('')
    val07 = fields.Char('暑假天數')
    val08 = fields.Char('暑假時數')
    desc07 = fields.Char('')
    startday = fields.Date('開始日期')
    endday = fields.Date('結束日期')
    type = fields.Char('假別')
    val01_startday = fields.Char('學期開始時間')
    val01_endday = fields.Char('學期結束時間')
    leave_memo = fields.Char('')
    people_type = fields.Char('')
    inday = fields.Date('')
